package com.lwlk.zdk.mapper.sys;

import com.lwlk.zdk.model.sys.sysRole;
import com.lwlk.zdk.model.sys.sysRoleExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface sysRoleMapper {
    int countByExample(sysRoleExample example);

    int deleteByExample(sysRoleExample example);

    int deleteByPrimaryKey(Integer roleTypeId);

    int insert(sysRole record);

    int insertSelective(sysRole record);

    List<sysRole> selectByExample(sysRoleExample example);

    sysRole selectByPrimaryKey(Integer roleTypeId);

    int updateByExampleSelective(@Param("record") sysRole record, @Param("example") sysRoleExample example);

    int updateByExample(@Param("record") sysRole record, @Param("example") sysRoleExample example);

    int updateByPrimaryKeySelective(sysRole record);

    int updateByPrimaryKey(sysRole record);
}